package com.company.cloud.page.modules.mgr.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.page.modules.base.entity.PageConfigInfo;
import com.company.cloud.page.modules.cache.models.PageInfoModel;
import com.company.cloud.page.modules.mgr.controller.req.PageConfigQuery4PageParam;
import com.company.cloud.page.modules.mgr.controller.req.PageConfigSaveParam;
import com.company.cloud.page.modules.mgr.controller.req.PageConfigUpdateParam;
import com.company.cloud.page.modules.mgr.controller.req.PageConfigUpdateStateParam;
import rx.internal.reactivestreams.PublisherAsCompletable;

public interface PageConfigMgrService {

    public IPage<PageInfoModel> query(PageConfigQuery4PageParam params);

    public PageConfigInfo save(PageConfigSaveParam params,LoginSimpleUserInfo userInfo);

    public PageConfigInfo update(PageConfigUpdateParam params,LoginSimpleUserInfo userInfo);

    public PageConfigInfo updateState(PageConfigUpdateStateParam params, LoginSimpleUserInfo userInfo);


    public PageConfigInfo delete(String pageNo,LoginSimpleUserInfo userInfo);
}
